package com.restaurant.application.minifacade.support;

import com.nebutown.base.data.ViewUpdate;
import com.nebutown.supporthome.AbstractImpl;
import com.nebutown.supporthome.CmdCapsule;
import com.restaurant.application.minifacade.MiniFacade;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public abstract class AbstractMiniFacade extends AbstractImpl implements MiniFacade {

    private static final Logger logger = LoggerFactory.getLogger(MiniFacade.class);

    public final Class<?> getEffectiveInterface() {
        return MiniFacade.class;
    }

    public Logger getLogger() {
        return logger;

    }

    public static CmdCapsule CMD_ACTION = new CmdCapsule("action", 0, RequestData.class);

    public abstract ViewUpdate action(RequestData action, int[] seq);
}
